.checkbox {
	@include font-ui-pos('small', 'normal');

	position: relative;
	display: flex;
	align-items: center;
	flex-direction: row;
	height: 32px;

	cursor: default;

	&__box {
		display: none;


		&:checked + label:before {
			border: 1px solid $figma-blue;
			background-color: $figma-blue;
			background-image: url('data:image/svg+xml;utf8,%3Csvg%20fill%3D%22none%22%20height%3D%227%22%20viewBox%3D%220%200%208%207%22%20width%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m1.17647%201.88236%201.88235%201.88236%203.76471-3.76472%201.17647%201.17648-4.94118%204.9412-3.05882-3.05884z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E');
			background-repeat: no-repeat;
			background-position: 1px 2px;
		}

		&:disabled + label {
			opacity: 0.3;
		}

		&:checked:disabled + label:before {
			border: 1px solid $figma-black-8;
			background-color: $figma-black-8;
		}
	}


	&__label {
		display: flex;
		width: 100%;

		user-select: none;

		&:before {
			display: block;
			width: 10px;
			height: 10px;
			margin: 2px 10px 0 10px;

			content: '';

			border: 1px solid $figma-black-8;
			border-radius: $border-radius-small;
		}
	}
}
